package cn.bellychang.db1.repository;

import cn.bellychang.db1.model.Synonym;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author ChangLiang
 * @date 2019/2/13
 */
public interface SynonymRepository extends JpaRepository<Synonym,Integer>,JpaSpecificationExecutor<Synonym> {

    Synonym findFirstByOrderBySynonymGroupCodeDesc();
}
